/*
 * @Description: 
 * @Date: 2024-03-04 14:10:08
 * @LastEditTime: 2024-04-01 09:14:24
 */
import request from '@/utils/request'
// 新增菜单
export function addWordMenu(data) {
  return request({
    url: '/system/wordMenu',
    method: 'post',
    data: data
  })
}
// 查询菜单
export function getWordMenuList(params) {
  return request({
    url: '/system/wordMenu/list',
    method: 'get',
    params
  })
}
// 删除菜单
export function eleWordMenu(menuIds) {
  return request({
    url: `/system/wordMenu/${menuIds}`,
    method: 'delete',
  })
}

// 查询规则管理详细 
export function getWordMenu(id) {
  return request({
    url: '/system/wordMenu/' + id,
    method: 'get'
  })
}
///system/wordMenu
export function updateWordMenu(data) {
  return request({
    url: '/system/wordMenu',
    method: 'put',
    data: data
  })
}